<!DOCTYPE html>
<html>

	<head>
		<title>客户关系管理系统-数据字典管理</title>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/bootstrap-theme.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/normalize.min.css" />

		<script src="../../js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>

		<!--[if lte IE 8]>
			<script src="../../js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
			<script src="../../js/respond.min.js" type="text/javascript" charset="utf-8"></script>
		<![endif]-->

		<!-- 界面自定义CSS文件 -->
		<link rel="stylesheet" type="text/css" href="../../css/custom/scrollbar-style.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/custom/html-basd-index.min.css" />

		<!--界面自定义JS文件-->
		<script src="../../js/custom/tip-popover.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/custom/html-basd-index.js" type="text/javascript" charset="utf-8"></script>

	</head>

	<body>
		<div class="container-fluid">

			<!--TODO 当前页面地理位置 (面包屑导航)-->
			<ul class="breadcrumb">
				<li>基础数据管理</li>
				<li>数据字典管理</li>
			</ul>

			<!--TODO 搜索表单及工具按钮-->
			<form id="form-search" class="form-inline">

				<div class="form-group">
					<label class="control-label">类别：</label>
					<select class="form-control">
						<option>全部</option>
						<option>客户等级</option>
						<option>服务类型</option>
						<option>地区</option>
						<option>信用度</option>
						<option>满意度</option>
					</select>

					<label class="control-label">值：</label>
					<input class="form-control" type="text" />
				</div>

				<div class="form-group btn-group">
					<button class="btn btn-default">
						<span class="glyphicon glyphicon-search"></span>
						查询
					</button>
					<button class="btn btn-default" type="button" data-toggle="modal" data-target="#modal-add">
						<span class="glyphicon glyphicon-plus"></span>
						添加
					</button>
				</div>

			</form>

			<hr />

			<!--TODO 数据列表-->
			<table class="table table-hover table-bordered table-data">
				<thead class="bg-primary">
					<tr>
						<th>#</th>
						<th>类别</th>
						<th>值</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>1</td>
						<td>客户等级</td>
						<td>普通客户</td>
						<td class="text-danger">
							<span class="glyphicon glyphicon-ban-circle"></span>
							<span class="hidden-xs">不可操作</span>
						</td>
					</tr>
					<tr>
						<td>2</td>
						<td>客户等级</td>
						<td>重点开发客户</td>
						<td class="text-danger">
							<span class="glyphicon glyphicon-ban-circle"></span>
							<span class="hidden-xs">不可操作</span>
						</td>
					</tr>
					<tr>
						<td>3</td>
						<td>客户等级</td>
						<td>大客户</td>
						<td class="text-danger">
							<span class="glyphicon glyphicon-ban-circle"></span>
							<span class="hidden-xs">不可操作</span>
						</td>
					</tr>
					<tr>
						<td>4</td>
						<td>客户等级</td>
						<td>合作伙伴</td>
						<td class="text-danger">
							<span class="glyphicon glyphicon-ban-circle"></span>
							<span class="hidden-xs">不可操作</span>
						</td>
					</tr>
					<tr>
						<td>5</td>
						<td>客户等级</td>
						<td>战略合作伙伴</td>
						<td class="text-danger">
							<span class="glyphicon glyphicon-ban-circle"></span>
							<span class="hidden-xs">不可操作</span>
						</td>
					</tr>
					<tr>
						<td>6</td>
						<td>服务类型</td>
						<td>咨询</td>
						<td>
							<div class="btn-group btn-group-xs">
								<button class="btn btn-default" data-toggle="modal" data-target="#modal-edit">
									<span class="glyphicon glyphicon-edit"></span>
									<span class="hidden-xs">编辑</span>
								</button>
								<button class="btn btn-default basd-del" title="删除">
									<div class="text-danger">
										<span class="glyphicon glyphicon-remove"></span>
										<span class="hidden-xs">删除</span>
									</div>
								</button>
							</div>
						</td>
					</tr>
					<tr>
						<td>7</td>
						<td>服务类型</td>
						<td>投诉</td>
						<td>
							<div class="btn-group btn-group-xs">
								<button class="btn btn-default" data-toggle="modal" data-target="#modal-edit">
									<span class="glyphicon glyphicon-edit"></span>
									<span class="hidden-xs">编辑</span>
								</button>
								<button class="btn btn-default basd-del" title="删除">
									<div class="text-danger">
										<span class="glyphicon glyphicon-remove"></span>
										<span class="hidden-xs">删除</span>
									</div>
								</button>
							</div>
						</td>
					</tr>
					<tr>
						<td>8</td>
						<td>服务类型</td>
						<td>建议</td>
						<td>
							<div class="btn-group btn-group-xs">
								<button class="btn btn-default" data-toggle="modal" data-target="#modal-edit">
									<span class="glyphicon glyphicon-edit"></span>
									<span class="hidden-xs">编辑</span>
								</button>
								<button class="btn btn-default basd-del" title="删除">
									<div class="text-danger">
										<span class="glyphicon glyphicon-remove"></span>
										<span class="hidden-xs">删除</span>
									</div>
								</button>
							</div>
						</td>
					</tr>
					<tr>
						<td>9</td>
						<td>地区</td>
						<td>北京</td>
						<td>
							<div class="btn-group btn-group-xs">
								<button class="btn btn-default" data-toggle="modal" data-target="#modal-edit">
									<span class="glyphicon glyphicon-edit"></span>
									<span class="hidden-xs">编辑</span>
								</button>
								<button class="btn btn-default basd-del" title="删除">
									<div class="text-danger">
										<span class="glyphicon glyphicon-remove"></span>
										<span class="hidden-xs">删除</span>
									</div>
								</button>
							</div>
						</td>
					</tr>
					<tr>
						<td>10</td>
						<td>地区</td>
						<td>华北</td>
						<td>
							<div class="btn-group btn-group-xs">
								<button class="btn btn-default" data-toggle="modal" data-target="#modal-edit">
									<span class="glyphicon glyphicon-edit"></span>
									<span class="hidden-xs">编辑</span>
								</button>
								<button class="btn btn-default basd-del" title="删除">
									<div class="text-danger">
										<span class="glyphicon glyphicon-remove"></span>
										<span class="hidden-xs">删除</span>
									</div>
								</button>
							</div>
						</td>
					</tr>
				</tbody>
			</table>

			<!--TODO 数据分页部分-->
			<div class="text-center">
				<ul class="pagination">
					<li class="disabled">
						<a>&lt;</a>
					</li>
					<li class="active">
						<a href="">1</a>
					</li>
					<li>
						<a href="">2</a>
					</li>
					<li>
						<a href="">3</a>
					</li>
					<li>
						<a href="">4</a>
					</li>
					<li>
						<a href="">5</a>
					</li>
					<li>
						<a href="">&gt;</a>
					</li>
				</ul>
			</div>
		</div>


		<datalist id="dict-type">
			<option value="客户等级">客户等级</option>
			<option value="服务类型">服务类型</option>
			<option value="地区">地区</option>
			<option value="信用度">信用度</option>
			<option value="满意度">满意度</option>
		</datalist>

		<!-- TODO 新增数据字典条目modal部分 -->
		<div class="modal fade" id="modal-add">
			<div class="modal-dialog modal-lg">
				<div class="modal-content">
					<div class="modal-header">
						<button class="close" data-dismiss="modal">
							<span class="glyphicon glyphicon-remove"></span>
						</button>
						<h3 class="modal-title">
							新增数据
						</h3>
					</div>

					<div class="modal-body container-fluid">
						<form class="form-horizontal" id="form-add">
							<div class="form-group col-md-6">
								<label class="col-xs-4 col-md-3 control-label">类别</label>
								<div class="col-xs-8 col-md-9">
									<input class="form-control" list="dict-type" id="cc2" />
								</div>
							</div>

							<div class="form-group col-md-6">
								<label class="col-xs-4 col-md-3 control-label">值</label>
								<div class="col-xs-8 col-md-9">
									<input class="form-control" required="required" id="cc5" />
								</div>
							</div>

							<div class="form-group col-md-6">
								<label class="col-xs-4 col-md-3 control-label" for="cc1">可操作</label>
								<div class="col-xs-8 col-md-9">
									<label class="form-control-static" for="cc1">
										<input class="checkbox-inline" type="checkbox" checked="checked" id="cc1"/>
									</label>
								</div>
							</div>

						</form>
					</div>

					<div class="modal-footer">
						<button class="btn btn-default" type="button" data-dismiss="modal">
							<span class="glyphicon glyphicon-remove"></span>
							关闭
						</button>
						<button class="btn btn-primary" form="form-add">
							<span class="glyphicon glyphicon-save"></span>
							保存
						</button>
					</div>
				</div>
			</div>
		</div>

		<!-- TODO 修改数据字典条目modal部分 -->
		<div class="modal fade" id="modal-edit">
			<div class="modal-dialog modal-lg">
				<div class="modal-content">
					<div class="modal-header">
						<button class="close" data-dismiss="modal">
							<span class="glyphicon glyphicon-remove"></span>
						</button>
						<h3 class="modal-title">
							修改数据
							<small>客户等级</small>
						</h3>
					</div>

					<div class="modal-body container-fluid">
						<form class="form-horizontal" id="form-edit">

							<div class="form-group col-md-6">
								<label class="col-xs-4 col-md-3 control-label">类别</label>
								<div class="col-xs-8 col-md-9">
									<input class="form-control" list="dict-type" id="ccc2" value="服务类型" />
								</div>
							</div>

							<div class="form-group col-md-6">
								<label class="col-xs-4 col-md-3 control-label">值</label>
								<div class="col-xs-8 col-md-9">
									<input class="form-control" required="required" id="ccc5" value="咨询" />
								</div>
							</div>

							<div class="form-group col-md-6">
								<label class="col-xs-4 col-md-3 control-label" for="ccc1">可操作</label>
								<div class="col-xs-8 col-md-9">
									<label class="form-control-static" for="ccc1">
										<input class="checkbox-inline" type="checkbox" checked="checked" id="ccc1"/>
									</label>
								</div>
							</div>

						</form>
					</div>

					<div class="modal-footer">
						<button class="btn btn-default" type="button" data-dismiss="modal">
							<span class="glyphicon glyphicon-remove"></span>
							关闭
						</button>
						<button class="btn btn-primary" form="form-edit">
							<span class="glyphicon glyphicon-refresh"></span>
							更新
						</button>
					</div>
				</div>
			</div>
		</div>

	</body>

</html>